<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<HTML>
	<HEAD>
	<%@ include file="checkRight.jsp"%>
<%@ include file="/common/include/includeHeader.jsp"%>
<%@ include file="/common/include/css.jsp"%>
<%@ include file="adminMenu.jsp"%>
<%@ page import="com.kylin.common.entity.Menu" %>

<STYLE type="text/css">

/* 顶端菜单链接的格 */
td.topMenu-main{
    FONT-SIZE: 14px;text-align: center;MARGIN-RIGHT: auto;MARGIN-LEFT: auto; 
    white-space:nowrap; 
    border-right-width: 1px; 
    border-top: 1px solid #C0C0C0; 
    border-bottom: 1px solid #C0C0C0;
    padding-top: 3px; padding-bottom: 3px;
    padding-left: 13px; padding-right: 13px;
}

/* 选中的 顶端菜单链接的格 */
td.topMenu-main-selected{
    FONT-SIZE: 14px;text-align: center;MARGIN-RIGHT: auto;MARGIN-LEFT: auto; 
    white-space:nowrap;
    background-color: #ffffff; 
    border-left-width: 1px; 
    border-right-width: 1px; 
    border-top: 1px solid #C0C0C0; 
    border-bottom-width: 1px;
    padding-top: 3px; padding-bottom: 1px;
    padding-left: 13px; padding-right: 13px;
}

/* 顶端菜单中间的间隙格 */
td.topMenu-split{
    width:10;
    border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0;border-top-width: 1px; border-bottom: 1px solid #C0C0C0
}
td.topMenu-split-left{
   width:30;
   border-left-width: 1px; border-top-width: 1px; border-right: 1px solid #C0C0C0;border-bottom: 1px solid #C0C0C0;
}
td.topMenu-split-right{
   width:10;
   border-right-width: 1px; border-top-width: 1px; border-left: 1px solid #C0C0C0;border-bottom: 1px solid #C0C0C0;
}

/* *** 左边导航菜单所在的方块表格 *** */
table.leftNav{
    FONT-SIZE: 12px;
    BORDER-RIGHT: #c0c0c0 1px solid; BORDER-TOP: #c0c0c0 1px solid; border-left-width: 1px; BORDER-BOTTOM: #c0c0c0 1px solid;
    width: 95%;
}
/* *** 左边导航菜单栏目头 *** */
td.leftNav-topic{
    height:27;vertical-align:middle;
    border-left-width: 1px; border-top-width: 1px; border-right-width: 1px;border-bottom: 1px solid #C0C0C0;
    background-image: url('/images/topic-bg.gif'); background-repeat: repeat-x; background-position: left top
    padding-left: 3px; padding-right: 3px;
}
/* *** 左边导航菜单链接所在的格 *** */
td.leftNav-link{
    padding-top: 5px; padding-bottom: 5px;   background-color: #FFFFFF;
    padding-left: 13px; padding-right: 3px;  vertical-align:middle;
}

</STYLE>
<decorator:head/> 
  	</HEAD>
	<BODY topmargin="1" leftmargin="1" rightmargin="1">
		<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0" height="100%" 
		 style="background-position: left top; background-color: #F6F6F6; background-image:url('/images/logo2.gif'); background-repeat:no-repeat">
			<TR><TD class="spacebg" width="154" height="39"></TD>
				<TD vAlign="bottom" height="39"  > 
					<TABLE memo="顶部菜单表格,画菜单顶部线条" width="100%" cellSpacing="0" cellPadding="0" >
						<TR>
							<td class="topMenu-split-left">&nbsp;&nbsp;&nbsp;&nbsp;</td>
								<!-- ************ 顶部菜单单元格  ***********  -->
<%
   Enumeration keys =MemObjFactory.adminMenus.keys();
   int menuSize=0;
   while(keys.hasMoreElements()){
       menuSize++;
       String key = (String)keys.nextElement();
       Menu menu = (Menu) MemObjFactory.adminMenus.get(key);
       String styleClass = "topMenu-main";
       if(currChanle.name.equals(menu.name)){
           styleClass = "topMenu-main-selected";
       }
       if(menuSize>1)
           out.print("\n    <td class='topMenu-split'>&nbsp;&nbsp;</td>");
       out.print("<td class='"+styleClass+"'><a href='"+menu.url+"'>"+menu.text+"</a></td>");
        
   }
%>
							<td class="topMenu-split">&nbsp;&nbsp;</td><td class="topMenu-main">
								<a href="/module/baseapp/login/logOut.jsp?admin">退出</a> 
							</td> 
							<!-- ************ 顶部菜单单元格 over ***********  -->
							<td width="20" class="topMenu-split-right">&nbsp;&nbsp;</td>
							<td width="80%" style="border-bottom: 1px solid #C0C0C0" >&nbsp;</td>
						</TR>
					</TABLE>
				</TD>
				<TD vAlign="bottom" style="border-bottom: 1px solid #C0C0C0;">&nbsp;</TD>
			</TR>
			<TR><td align=left memo="桢结构的左边" style="width: 170;border-right:1px solid #C0C0C0; border-bottom:1px solid #C0C0C0; "> 
					<%@ include file="left.jsp"%>
				</td>
				<td colspan=3 bgcolor="#FFFFFF" align="center" valign="top">&nbsp;
					<decorator:body /> 
				</td>
			</TR>
		</TABLE>

</BODY></HTML>